<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
</head>

<body>
    <!-- 没有给高度的时候flex:1 以子项为标准。 -->
    <div style="height: 100px; display: flex;">
        <div style="flex: 1; background-color: aliceblue;">1</div>
        <div style="flex: 1; background-color: aqua;">1</div>
        <span style="flex: 1; background-color: black;">1</span>
    </div>

    <!-- <script src="./ajax.js"></script> -->
    <!-- <script src="./promise.js"></script> -->
    <!-- 递归 -->
    <script src="./flat.js"></script>
</body>

</html>